home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 2.1 KB | 45 lines | [TEXT/GEOL] |
- Item 1543017 1-July-88 16:54
-
- From: BURBECK.S Burbeck, Steve
-
- To: D0989 G-Bar Partnership, Dev, M Bentley
-
- cc: MACAPP$ MacApp Interest List
-
- Sub: The Crazy Limits Blues
-
- Mike,
-
- I was speaking about long range issues from an Object-Oriented Programing
- purist perspective. MacApp is a great product and I don't consider the 4096
- entry jump table limit to be a serious problem at present. The intent of my
- link was to point out that the jump table limit will eventually conflict with
- the best OOP practices. I wanted to stimulate discussion about the issue (and
- perhaps about good OOP design practices as well), not incite panic.
-
- Niether the Mac, nor MacApp is incapable of being used with large applications.
- For instance, "Author/Editor" is a 497K application that was written with
- MacApp. Its developers only occasionally ran into the 4096 jump table limit
- with debugging turned on. With debugging off, they are nowhere near the limit.
-
- Limits of one sort or another are present in every hardware architecture, OS,
- language, editor, and application. As David Goldsmith pointed out, every
- designer has to make hard choices; those choices often result in limits on the
- hardware or software we design. [Of course the limits we ourselves impose on
- our users are rational, and those imposed upon us by others are arbitrary :-) ]
- Some limits weigh heavily on us, some are taken for granted and many escape
- our attention entirely (until they bite us with a bug).
-
- The jump table is used for method dispatch. So the limit is on the total
- number of methods. One work around is to use fewer larger methods. Obviously
- that is not as pleasant as if there were no limit, but it is a lot more
- pleasant than abandoning MacApp entirely because there is a limit on the number
- of methods. After all, you can freely intermix methods with regular procedures
- and functions. So there can be a smooth continuum between the two extremes of
- everything-a-method to no-methods. Your position on that continuum is up to
- you.
-
- Steve Burbeck
-
-
-